function saveService(){

	/*alert("");*/
	$.ajax({
	   type:"post",
	   url :"../costdataentry3.action",
	   data:{
		   "serviceRecord.h_id":$("#addh_id1").html(),
		   "serviceRecord.e_id":$("#e_id").val() ,   
		   "serviceRecord.end_service_time":$("#end_service_time").val(),
		   "serviceRecord.begin_service_time":$("#begin_service_time").val(),
		   "serviceRecord.demand":$("#demand").val(),
		   "serviceRecord.evaluation":$("#evaluation").html() ,   
		   "serviceRecord.note":$("#note").html() ,   
	   },
	   dataType:"json",
	   success:function(data){
			if(data=="true"){
				alert("录入成功！");
				window.location.href="costdataentry.jsp";
			}       
	   },
	   error:function(){
		   alert("失败");
	   }
	});	
}
